package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 【请填写功能名称】对象 DatInfo
 *
 * @author wxd
 * @date 2024-08-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DatInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;
    @ApiModelProperty(value = "编号")
    @Excel(name = "编号")
    private Long datID;

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String deviceId;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备型号")
    @Excel(name = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "所属单位ID")
    private String deptId;

    @ApiModelProperty(value = "所属单位")
    @Excel(name = "所属单位")
    private String deptName;

    @ApiModelProperty(value = "焊接次数")
    @Excel(name = "焊接次数")
    private Long sptwldCount;

    @ApiModelProperty(value = "记录时间")
    @Excel(name = "记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "线缆规格")
    @Excel(name = "线缆规格")
    private String cableSpec;

    @ApiModelProperty(value = "开始时间")
    @Excel(name = "开始时间")
    private String startTimer;

    @ApiModelProperty(value = "结束时间")
    @Excel(name = "结束时间")
    private String endTimer;

    @ApiModelProperty(value = "高度")
    @Excel(name = "高度")
    private String hight;

    @ApiModelProperty(value = "功率")
    @Excel(name = "功率")
    private Long sptwldHP;

    @ApiModelProperty(value = "气压")
    @Excel(name = "气压")
    private String sptwldKpa;

    @ApiModelProperty(value = "频率")
    @Excel(name = "频率")
    private String sptwldFreq;

    @ApiModelProperty(value = "振幅")
    @Excel(name = "振幅")
    private Long sptwldAmp;

    @ApiModelProperty(value = "焊接能量")
    @Excel(name = "焊接能量")
    private Long sptwldEnergy;

    @ApiModelProperty(value = "焊接时间")
    @Excel(name = "焊接时间")
    private String sptwldTimer;

    @ApiModelProperty(value = "焊接模式")
    @Excel(name = "焊接模式")
    private String sptwldMode;

    @ApiModelProperty(value = "焊接深度")
    @Excel(name = "焊接深度")
    private String sptwldDH;

    @ApiModelProperty(value = "焊前高度")
    @Excel(name = "焊前高度")
    private String sptwldBH;

    @ApiModelProperty(value = "焊后高度")
    @Excel(name = "焊后高度")
    private String sptwldAH;

    @ApiModelProperty(value = "峰值功率")
    @Excel(name = "峰值功率")
    private Long sptwldPP;

    @ApiModelProperty(value = "平均功率")
    @Excel(name = "平均功率")
    private Long sptwldAP;

    @ApiModelProperty(value = "结束功率")
    @Excel(name = "结束功率")
    private Long sptwldEP;

    @ApiModelProperty(value = "压力")
    @Excel(name = "压力")
    private String sptwldStress;

    @ApiModelProperty(value = "相位电压")
    @Excel(name = "相位电压")
    private String sptwldVoltage;

    @ApiModelProperty(value = "温度")
    @Excel(name = "温度")
    private String sptwldTemp;

    @ApiModelProperty(value = "线缆编号")
    @Excel(name = "线缆编号")
    private String wcid;

    @ApiModelProperty(value = "结果")
    @Excel(name = "结果")
    private String result;

    @ApiModelProperty(value = "NG原因")
    @Excel(name = "NG原因")
    private String ngStr;

    @ApiModelProperty(value = "总产量")
    @Excel(name = "总产量")
    private Long allCount;

    @ApiModelProperty(value = "良品")
    @Excel(name = "良品")
    private Long okCount;

    @ApiModelProperty(value = "不良品")
    @Excel(name = "不良品")
    private Long ngCount;

    @ApiModelProperty(value = "图片路径")
    @Excel(name = "图片路径")
    private String imagePath;

    @ApiModelProperty(value = "操作员")
    @Excel(name = "操作员")
    private String userName;

    @ApiModelProperty(value = "位置坐标")
    private String location;
}
